/*jslint node:true*/
/*global angular*/
'use strict';
var app = angular.module('myApp', []);
app.controller('myCtrl', function ($scope) {
    $scope.origin = {firstName: "John", lastName: "Doe"};
    $scope.reset = function () {
        $scope.user = angular.copy($scope.origin);
    };
    $scope.reset();
});
